Skip to content

Conversation

@antoineedy
Copy link
Contributor

@antoineedy antoineedy commented Nov 14, 2025

This small change makes benchmark reference links work as expected.

Here is a demo space of this PR: antoineedy/demo-mteb-leaderboard


The model links inside the tables have a strange behaviour as well; sometimes it opens a new tab, sometimes it shows a grey screen in the hugging face space.

In app.py (l.142), should I replace:

df["name"] = "[" + df["name"] + "](" + df["reference"] + ")"

by:
df["name"] = f'<a href="{df["reference"]}" target="_blank">{df["name"]}</a>'
to force a new tab to be created?

Close #2869

@Samoed
Copy link
Member

Samoed commented Nov 14, 2025

The model links inside the tables have a strange behaviour as well; sometimes it opens a new tab, sometimes it shows a grey screen in the hugging face space.

Yes, this is old bug and we can't figure out #2869. You can try to change it (probably without target)

Copy link
Contributor

@KennethEnevoldsen KennethEnevoldsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a nice workaround @antoineedy - thanks!

Would be great to see if the solution works in the dataframe as well

@Samoed Samoed added the leaderboard issues related to the leaderboard label Nov 16, 2025
Copy link
Member

@Samoed Samoed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to run it and now model links are working correctly!

@Samoed Samoed merged commit 07f1e6e into embeddings-benchmark:main Nov 16, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

leaderboard issues related to the leaderboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Model Links do not work when switching leaderboards

3 participants